/*-------*/
/*General*/
/*-------*/

h1,
h2,
h3 {
  text-align: center;
  margin: 0;
  color: black;
  font-family: inherit;
}

h2 {
  font-size: 1.6em;
}

h3 {
  color: black;
  font-size: 1.4em;
}

a { color: black } /* Globally */

/* Each state */

a:visited { text-decoration: none; color: black; }
a:hover { text-decoration: none; color: black; }
a:focus { text-decoration: none; color: black; }
a:hover, a:active { text-decoration: none; color: black }

html, body {
  margin: 0;
  background-color: gainsboro;
  height: 100vh;
  overflow: hidden;
}

a {
  text-decoration: none;
}

main {
  position: absolute;
}

/*--------*/
/*Left Bar*/
/*--------*/

.left-sidebar {
  font-family: 'Open Sans', sans-serif;
  float: left;
  width: 250px;
  /* background-color: #1f2124; */
  /*background-color: #20262e;*/
  background-color: #87959e;
  color: black;
  height: 100vh;
  text-align: center;
  border-color:  rgba(207,208,210,.2);
  border-style:  dotted;
  border-right-width: 1px;
  border-bottom: 0px;
  border-top: 0px;
  border-left: 0px;
}

.left-nav {
  height: 163.2px;
  padding-top: 20px;
}

.left-nav a {
  cursor: pointer;
}

.site-header {
  height: 40.4px;
  margin: auto;
  padding-top: 5px;
}

.site-header h1 {
  color: black;
  display: inline-block;
  font-size: 1.4em;
  font-weight: 100;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  vertical-align: middle;
  text-align: center;
  padding-top: 10px;
}


/*-------------*/
/* Search form */
/*-------------*/

.input-group {
  width: 50%;
  padding-top: 20px;
  text-align: center;
  margin: 0 auto;
}

.form-control {
  font-size: 0.9em;
  margin: 0;
  width: 90%;
  text-align: center;
  background-color: white;
  border: 1;
  border-radius: 8px;
  color: black;
  border-color: #13895F;
}

#search-bar:focus {
  outline-width: 0;
}

.left-nav ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}

.left-nav li {
  font-weight: 200;
  height: 81.6px;
  /* background: rgba(0,0,0,.15); */
  
}

.left-nav a.active,
.left-nav a:hover {
  max-width: 250px;
  /*background: lightgray;*/
  background: #b1c4d1;
  border-left: 8px solid #13895F;
}

.left-nav a {
  /* background: #18191b; */
  /*background: rgba(0,0,0,.15);*/
  /*background-color: rgba(135, 149, 158, 0.1);*/
  background: #727f87;
  color: black;
  display: block;
  padding: 30px;
  /*transition: all 0.1s;*/
}

/*---------*/
/* ID List */
/*---------*/

.id-list {
  padding-top: 20px;
  height: calc(100% - 153px);
  /* height:  100%; */
}

.id-list ul {
  overflow: hidden;
  height: calc(100% - 153px);
  /* height: 100%; */
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  overflow-y: scroll;
  text-align: center;
}

.id-list ul::-webkit-scrollbar {
  width: 8px;
}

.id-list ul::-webkit-scrollbar-track {
  background-color: lightgray;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.id-list ul::-webkit-scrollbar-thumb {
  background-color: darkgray;
  height: 50px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.id-list ul::-webkit-scrollbar-thumb:hover {
  background-color: #13895F;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}


.id-list li {
  font-weight: 300;
  color: black;
  margin-left: 0px;
}

.id-list li:hover {
  color: #13895F;
  cursor: pointer;
}

.mini-category-img {
  border: 1px solid black;
}



/* ----------- INDIVIDUAL EXPLANATIONS ----------- */



/*------------*/
/* Right side */
/*------------*/

.right-side {
  height: 100vh;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  width: auto;
  margin-left: 250px;
  /* background-color: #252728; */
  background-color: white;
  text-align: left;
}

#ind-instruction {
  display: none;
  position: absolute;
  /*height: 100vh;*/
  float: center;
  max-height: 850px;
  width: 900px;
}

#intro-background {
  display: auto;
  position: absolute;
  height: 1800px;
  width: 2200px;
}

#intro-instruction {
  display: block;
  position: relative;
  /*text-align: center;*/
  margin: auto;
  padding-top: 40px;
  height: 600px;
  width: 700px;
/*  height: 1800px;
  width: 2200px;*/
}

#intro-arrow {
  display: inline;
  position: absolute;
  height: 110px;
  width: 125px;
  padding-top: 45px;
}

#error-img {
  display: inline;
/*  position: absolute;*/
  height: calc(100vh - 80px);
  width: 900px;
  /*float: left;*/
}

#paper-gh-links{
  margin-top: calc(100%-300px);
}

.intro-links{
  font-family: 'Open Sans', sans-serif;
  font-weight: 200;
  display: inline;
}

.logo{
  display: block;
  max-width:50px;
  max-height:95px;
  width: auto;
  height: auto;
  margin: auto;
  margin-top: 170px;
}

#paper-logo{
  margin-top: 0px;
}

.text{
  display: block;
  max-width:50px;
  max-height:95px;
  width: auto;
  height: auto;
  margin: auto;
}


/*--------------*/
/* Right header */
/*--------------*/

#header-container{
  width: 100%;
  text-align: center;
}

table .right-header{
  width: 99.9%;
  margin: auto;
  text-align: center;
  background-color: white;
  font-size: 1.2em;
  /*border: 1px solid black; */
  color: black;
  height: 65px;
}

table #id-display {
  width: 100px;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 100;
  font-size: 1.2em;
}
table #space {
  width: 470px;
}
table .cat-text {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
}
table #category-text {
  width: 10%;
}
table #container {
  position: relative;
  text-align: center;
  color: white;
}
table #category-display {
  width: 50px;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 100;
  font-size: 1.2em;
}
table #category-img {
  margin-top: 0px;
  border-radius: 50%;
  border: 0.7px solid black;
}
table #model-display {
  /*width: 30%;*/
}

/*--------------*/
/* Button space */
/*--------------*/

.ind-header {
  width: 880px;
  margin: auto;
  text-align: center;
  margin-top: 30px;
  padding-left: 10px;
  /*border: 1px solid black;*/
}

.ind-header td{
  margin: auto;
  text-align: center;
  /*border: 1px solid black;*/
}
.ind-text {
  display: inline-block;
  float: left;
  font-family: Arial;
  padding-top: 8px;
}
.btn-td {
  width: 320px;
}
.check-group {
  display: inline-block;
  float: right;
}
.check-group .prop-button {
  background-color: #BEBEBE; /* Green */
  border: 1px solid black;
  color: black;
  padding: 8px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  cursor: pointer;
  float: left;
  font-weight: 500;
  display: inline-block;
}
.check-group .prop-button:not(:last-child) {
    border-right: none; /* Prevent double borders */
}
.check-group .prop-button:focus {
    outline: none;
}

/*----------*/
/* D3 space */
/*----------*/

.d3-space {
  background-color: white;
  /*background-color: Gainsboro;*/
  width: 100%;
  height: 360px;
  text-align: center;
}

/*-----------*/
/* SVG space */
/*-----------*/

.main-svg {
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  display: auto;
}

.axis path,
.axis line {
    stroke-opacity: 0.1;
    fill: none;
    stroke: none;
}


.axis text{
    font-family: sans-serif
    font-size: 12px;
    font-weight: bold;
}

.bg_bar {
    fill: white;
}

/*------------*/
/* Text space */
/*------------*/

#txt-space-key {
  margin-left: 5%;
  margin-right: 10px;
  text-align: left;
  max-width: 40%;
  height: calc(100% - 570px);
  background-color: white;
  font-size: 12px;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  overflow-y: auto;
  display: inline-block;
}

#txt-space-key p {
  margin: 0px;
}

#txt-space-key::-webkit-scrollbar {
  width: 4px;
}

#txt-space-key::-webkit-scrollbar-track {
  background-color: gainsboro;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
}

#txt-space-key::-webkit-scrollbar-thumb {
  background-color: #A9A9A9;
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#txt-space-key::-webkit-scrollbar-thumb:hover {
  /*background-color: #13895F;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#txt-space-chg {
  margin-left: 10px;
  margin-right: 5%;
  text-align: left;
  max-width: 40%;
  height: calc(100% - 570px);
  background-color: white;
  font-size: 12px;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  overflow-y: auto;
  display: inline-block;
}

#txt-space-chg p {
  margin: 0px;
}

#txt-space-chg::-webkit-scrollbar {
  width: 4px;
}

#txt-space-chg::-webkit-scrollbar-track {
  background-color: gainsboro;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
}

#txt-space-chg::-webkit-scrollbar-thumb {
  background-color: #A9A9A9;
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#txt-space-chg::-webkit-scrollbar-thumb:hover {
  /*background-color: #13895F;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#similar-samples{
  text-align: center;
  height: 20px;
  background-color: white;
  font-size: 13px;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
}

#similar-samples p{
  margin: 0px;
}
#similar-samples a {
  margin: 5px;
  display: inline;
  cursor: pointer;
}



/*-----------------*/
/* Loading content */
/*-----------------*/

.loader_wrap {
  width: 100%;
  height: 100%;
  text-align: center;
}

.lds-dual-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
  margin-top: 200px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid black;
  border-color: black transparent black transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*bar blue: rgb(30,61,122)*/














/* ----------- GLOBAL EXPLANATIONS ----------- */

.right-side-global {
  height: 100vh;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  width: auto;
  margin-left: 250px;
  /* background-color: #252728; */
  background-color: white;
  text-align: center;
  overflow-x: hidden;
  overflow-y: hidden;
  text-align: center;
}

#glob-instruction {
  display: auto;
  height: 750px;
  max-height: 900px;
  width: 920px;
  float: left;
}

#glob-instruction:hover{
  cursor: pointer;  
}


/*------------*/
/* Left panel */
/*------------*/

.btn-group .algo-button {
    background-color: #BEBEBE; /* Green */
    border: 1px solid black;
    color: black;
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    cursor: pointer;
    float: left;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 25px;
}
.btn-group .algo-button:not(:last-child) {
    border-right: none; /* Prevent double borders */
}
.btn-group .algo-button:focus {
    outline: none;
}


#left-panel {
  width: 270px;
  height: calc(100% - 120px);
  /*height: 80%;*/
  background-color: white;
  display: inline-block;
  /*display: table-cell; vertical-align: middle;*/
  font-size: 12px;
  /*overflow-y: scroll;*/
  margin-top: 15px;
  text-align: left;
  display: inline-block;
  float: left;
  margin-left: 20px;
  /*border: 1px solid black;*/
}

#feature-table1 {
  width: 100%;
  height: 100%;
  padding: 0px;
  margin: 0px;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  vertical-align: top;
  /*border: 1px solid black;*/
}

#feature-table1::-webkit-scrollbar {
  width: 4px;
}

#feature-table1::-webkit-scrollbar-track {
  background-color: gainsboro;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
}

#feature-table1::-webkit-scrollbar-thumb {
  background-color: #A9A9A9;
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#feature-table1::-webkit-scrollbar-thumb:hover {
  /*background-color: #13895F;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
#feature-table1 tr{
  width: 285px;

}
#feature-table1 td{
  width: 100%;
  max-height: 30px;
  text-align: left;
  /*border: 1px solid black;*/
  font-weight: 550;
  vertical-align: top;
}

#ft-header {
  /*border-bottom: 1px solid black;*/
}

.ft-div-header {
  width: 120px;
  display: inline-block;
  margin-top: 0px;
  font-weight: bold;
  font-size: 14px;
  margin-left: 0px;
  text-align: center;
}

#bar-div-header {
  margin-right: 16px;
  margin-top: 2px;
  margin-left: 0px;
  text-align: center;
}

.bar-label {
  margin-top: 0px;
}

.ft-div {
  position: relative;
  width: 125px;
  height: 30px;
  display: inline-block;
  margin-top: 5px;

  /*width: 125px;
  height: 100%;
  display: inline-block;
  border-bottom: 25px;
  -webkit-transition: all 0.2s ease-out;*/
}

.ft-div:hover {
  cursor: pointer;
}


.ft-div a {
  min-height: 30px;
}

.ft-div a:hover{
  /*cursor: none;*/
  font-size: 13px;
  font-weight: bold;
}

.monot-div {
  display: inline-block;
  width: 55px;
  height: 30px;
  float: left;
  margin-left: 0px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}



.dir-svg {
  margin-top: 0px;
}


.bar-div {
  display: inline-block;
  width: 45px;
  height: 24px;
  float: right;
  margin-left: 20px;
  margin-top: 6px;
}

.occ-svg {
  margin-top: 0px;
}

#reset-button {
    background-color: rgb(177, 196, 209);
    border: 1px solid black;
    color: black;
    padding: 4px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    cursor: pointer;
    float: right;
    font-weight: 500;
    display: inline-block;
    margin-top: 5px;
    margin-right: 12px;
}

#reset-button:focus {
    /*background-color: gray;*/
    outline: none;
}








/*--------------*/
/* Middle panel */
/*--------------*/

#middle-panel {
  margin-left: 15px;
  /*width: calc(100% - 300px);*/
  width: 460px;
  height: calc(100% - 100px);
  padding-top: 72px;
  /*background-color: darkgrey;*/
  /*display: inline-block;*/
  display: none;
  float: left;
/*  float: right;
  margin-left: 100px;*/
  -webkit-transition: all 2s;
  /*border: 1px solid black;*/
  /*position: absolute;*/

}

#middle-panel:target {
  display: inline-block;
  /*display: table-cell; vertical-align: middle;*/
}

#feature-table2 {
  width: 100%;
  height: 100%;
  padding: 0px;
  margin: 0px;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  vertical-align: top;
}

#feature-table2::-webkit-scrollbar {
  width: 3.5px;
}

#feature-table2::-webkit-scrollbar-track {
  background-color: gainsboro;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
}

#feature-table2::-webkit-scrollbar-thumb {
  background-color: #A9A9A9;
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#feature-table2::-webkit-scrollbar-thumb:hover {
  /*background-color: #13895F;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#middle-col {
  vertical-align: top;
  width: 450px;
  /*border: 1px solid black;*/
}

#middle-nav {
  width: 100%;
  height: 100%;
}

#combination-list {
  list-style-type: none;
  width: 100%;
  height: 100%;
  padding: 0px;
/*  overflow-y: scroll;
  overflow: auto;*/
}

#combination-list li {
  /*border: 1px solid black;*/
  text-align: center;
}

#combination-list div {
  /*border: 1px solid black;*/
  text-align: center;
}

#combination-list li:hover {
  /*font-weight: bold;*/
  cursor: pointer;

}

.middle-svg {
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4px;
  margin-bottom: 4px; 
  display: auto;
  text-align: center;
}






/*-------------*/
/* Right panel */
/*-------------*/

#right-panel {
  margin-left: 15px;
  /*width: calc(100% - 300px);*/
  width: 400px;
  height: calc(100% - 100px);
  padding-top: 72px;
  /*background-color: darkgrey;*/
  /*display: inline-block;*/
  display: none;
  float: left;
/*  float: right;
  margin-left: 100px;*/
  -webkit-transition: all 2s;
  /*border: 1px solid black;*/
  /*position: absolute;*/
}
#feature-table3 {
  width: 100%;
  height: 100%;
  /*background-color: grey;*/
  /*border: 0px;*/
  table-layout: fixed;
  overflow-y: scroll;
  display: inline-block;
  /*overflow: auto;*/
}
/*
#feature-table3 td {
  width: 400px;
  height: 40px;
  border: 1px solid black;
}*/


#right-part {
  vertical-align: top;
  width: 310px;
  height: 100%;
  background-color: white;
  /*border: 1px solid black;*/
  text-align: center;
}

#feature-table3::-webkit-scrollbar {
  width: 4px;
}

#feature-table3::-webkit-scrollbar-track {
  background-color: gainsboro;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
}

#feature-table3::-webkit-scrollbar-thumb {
  background-color: #A9A9A9;
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#feature-table3::-webkit-scrollbar-thumb:hover {
  /*background-color: #13895F;*/
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}